/*
 * @Description:处理token
 * @Version: 2.0
 * @Autor: kafei
 * @Date: 2021-11-19 11:33:52
 * @LastEditors: kafei
 * @LastEditTime: 2021-11-19 11:41:01
 */
const TokenKey = 'Admin-Token'

export function getToken () {
  return localStorage.getItem(TokenKey)
}

export function setToken (token) {
  return localStorage.setItem(TokenKey, token)
}

export function removeToken () {
  return localStorage.remove(TokenKey)
}
